package com.zq.设计模式23种.创建型模式.单例模式;

/**
 * @author Jiu
 * @description：饿汉式单例模式
 * @date 2020/11/24   10:58
 **/
public class SingletonE {
    private static SingletonE instance = new SingletonE();

    public SingletonE (){

    }

    public static SingletonE getInstance(){
        return instance;
    }
}
